/**
 * 
 */
package light.mvc.service.record;

import java.util.List;

import light.mvc.pageModel.base.PageFilter;
import light.mvc.pageModel.base.RoomEvent;
import light.mvc.pageModel.meetingroom.MeetingroomEvent;
import light.mvc.pageModel.meetingroom.RegularPageModel;
import light.mvc.pageModel.record.Project;
import light.mvc.pageModel.record.RoomSchedule;

/**
 * @author laijianbo 2014-5-21上午10:28:55
 */
public interface RoomScheduleServiceI {

	/**
	 * 
	 */
	List<RoomEvent> getDurationEvent(RoomSchedule roomSchedule);

	/**
	 * @param event
	 * @return
	 */
	boolean orderRoomEvent(RoomEvent event);

	/**
	 * 
	 * @param regularPageModel
	 * @return
	 */
	boolean addRoomEvent(RegularPageModel regularPageModel);
	/**
	 * 
	 * @param regularPageModel
	 * @return
	 */
	void deleteRoomEvent(RegularPageModel regularPageModel);

	/**
	 * @return
	 */
	boolean updateRoomEvent(RoomSchedule event);

	/**
	 * @param event
	 * @return
	 */
	boolean deleteRoomEvent(RoomEvent event);

	/**
	 * 
	 * @param event
	 * @return
	 */
	Object getEventById(MeetingroomEvent event);

}
